import requests

cookies = {
    'api_uid': 'CichRGc5jddYPwCyC/QoAg==',
}

headers = {
    'Host': 'api-shb1.pinduoduo.com',
    'Cookie': 'api_uid=CichRGc5jddYPwCyC/QoAg==',
    'accesstoken': '5ZDYJSU5R62CWFD6DJFJPCCU3QDZH2ZEYLNSOACC6J4GX4XT3EFA123dbac',
    'anti-token': '2af06o0hXwG2W/Hj85hqNZW9gZ7loBA2HwvyNbirylzOLNTOM/RNyPuh+lpfKQLPX4lc1BxYvJeTFhKE9QGJhPqRK64V2akQ+gdr/LDAY+cnK/mDW4hoG6tIdUaEV6LWlMzc7TuPuGxfTJylX4FGEP9bdWMyxzDrfV49hRsWPA53Rdtfk5MEoJ/6ZruDDk4ArCD4TJ1bcPndM8f8wpkH9AtJVpv+jQ+jIBbP1WiU2NC4vAR5fK/Yw8AYAGWnrGLamZTukIyBHtmRckUMIKdrPT+a5mf8RQ3I77QZz/Yw9AgfaPfo6Z/69pe/Eds0hSjoT4JQa1AoRa+3160ri+odSx0k4ODGNb+6CoMwRzvvHurYyj3j/sKLMpSu+uEvUPzuCYIAQiFNL+q4yaqPMnF7KwCXDvGmaiwnOdFpRl5aNlKhkYBTX2iS5UtX2EyeP452qcrtnxfBn4uoZghAh1EYyatZUHoCTMM0S8xHSYILW2mW5k=',
    'content-type': 'application/json;charset=UTF-8',
    'etag': 'a50N6Qog',
    'lat': 'F7GF3LTOSKLPXXJHTWXDHWCCS7UVSTWKL7RSXZWZNPZM2YNK2NJQ123dbac',
    'multi-set': '1,1,100000176',
    'p-appname': 'pinduoduo',
    'p-mediainfo': 'player=2.0.4&rtc=1.0.0',
    'p-proc': 'main',
    'p-proc-time': '13770',
    'pdd-config': 'V4:001.073400',
    'referer': 'Android',
    'user-agent': 'android Mozilla/5.0 (Linux; Android 13; PJA110 Build/TP1A.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.129 Mobile Safari/537.36  phh_android_version/7.34.0 phh_android_build/7389345782c85ab013276181873aa2be72da08bf phh_android_channel/oppo pversion/0',
    'x-b3-ptracer': 'hctrue729eb267bfbb43479369434026',
    'x-pdd-info': 'bold_free%3Dfalse%26bold_product%3D%26front%3D1%26tz%3DAsia%2FShanghai',
    'x-pdd-queries': 'width=1240&height=2606&net=1&brand=OnePlus&model=PJA110&osv=13&appv=7.34.0&pl=2',
    'x-yak-llt': '1731825147991',
}

params = {
    'source': 'index',
    'pdduid': '4542495646683',
}

data = '{"install_token":"b69e68a0-ab62-441e-915c-35db1a5c03b8","item_ver":"lzqq","list_id":"1wyvK8jS","track_data":"refer_page_id,10002_1731937923915_1217258651","search_met":"shade","sort":"default","source":"index","is_sys_minor":"0","is_page_init":"1","q":"tipilink摄像头","page_sn":"10015","page_id":"search_result.html","size":"20","referer_params":null,"union_pay_installed":"0","q_search":"{\\pes_req_id\\:\\e19547c0-ab6d-49cb-8067-4f7f6050f6c0\\,\\dpt\\:\\1\\,\\icon_type\\:\\火\\}","requery":"0","page":"1","engine_version":"2.0","is_new_query":"1","back_search":"false"}'.encode()

response = requests.post('https://api-shb1.pinduoduo.com/search', params=params, cookies=cookies, headers=headers, data=data,verify=False).json()
print(response)